package org.jeecg.modules.ft.ftOrderDetail.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.ft.ftOrderDetail.entity.FtOrderDetail;

import java.util.List;

/**
 * @Description: 餐饮订单明细
 * @Author: jeecg-boot
 * @Date:   2021-01-11
 * @Version: V1.0
 */
public interface FtOrderDetailMapper extends BaseMapper<FtOrderDetail> {

    @Select("select * from ft_order_detail where order_code=#{orderCode}")
    List<FtOrderDetail> orderDetailList(@Param("orderCode") String orderCode);


}
